home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group95c.txt
/
000046_icon-group-sender _Wed Oct 11 19:23:49 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1996-01-03
|
2KB
Received: by cheltenham.cs.arizona.edu; Thu, 12 Oct 1995 09:18:09 MST
Date: Wed, 11 Oct 1995 19:23:49 -0700
From: Gregg Townsend <gmt>
Message-Id: <9510120223.AA01683@hawk.CS.Arizona.EDU>
To: nmw@styx.ios.com
Subject: Re: Strange loadfunc related bug in iconc
Cc: icon-group
Errors-To: icon-group-errors@cs.arizona.edu
From: Nick Williams <nmw@styx.ios.com>
...
I had written up a small library of routines to interface to system
calls and functions (such as fork, getuid, etc..). Now, as I tried to
use them once again I have run into a problem: everything works fine
when the Icon code is interpreted, but the return values of external
functions are screwed up when the Icon code is compiled.
...
Perhaps the bug is in the code that iconc generates, which I have
serious trouble following (it wasn't meant to be read, was it? :)
...
Not really. And your speculation is probably right. Try compiling with
"iconc -n t" and see if that fixes it. If not, add "iconc -f s" and try
that.
PS: To get Icon to run under FreeBSD I had to perform two changes to the
source code: a) change "RTLD_LAZY" in fload.r to 1 and b) include a
copy of ecvt() in rmisc.r surrounded by ifdefs (BSD_4_4_LITE).
Thanks for that info. Can you tell us what would be a correct FreeBSD
entry for ipl/packs/loadfunc/mklib.sh?
Gregg Townsend / Computer Science Dept / Univ of Arizona / Tucson, AZ 85721
+1 520 621 4325 gmt@CS.Arizona.EDU 110 57 16 W / 32 13 45 N / +758m